package com.health.healthproject.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.time.LocalDate;
import java.time.LocalDateTime;

@Data
@TableName("s_user")
public class User {
    @TableId(type = IdType.AUTO)
    private Long id;
    private String userName;
    private String password;
    private Integer userType;
    private String idCard;
    private String userPhone;
    private LocalDate birthday;
    private String address;
    private Integer sex;
    private Integer status;
    private String emergencyContact;
    private String emergencyRelation;
    private String emergencyPhone;
    private String userAuth;
    private LocalDateTime createTime;
    private LocalDateTime updateTime;
}